package string;

public class homework1 {
    public static void main(String[] args) {
        StringBuilder sc=new StringBuilder("abc");
        sc.append("qwe");
        sc.replace(2,3,"def");
        System.out.println(sc);
        sc.delete(0,2);
        System.out.println(sc);
        sc.insert(0,"从第一个插入");
    }
}
